package com.qst.survey.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Date: 2021/3/27 11:32
 * @Description: 问题实体类
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("replay")
public class Replay {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    @TableField(exist = false)
    private Integer age;
    @TableField(exist = false)
    private String sex;
    private Integer topicId;
    private String replayText;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
